export default {
  /* eslint-disable */
  namespaced: true,
  state: {
    id: 0,
    account: '',
    name: '',
    avatar: '',
    fun: '',
    message: ''
  },
  mutations: {
    updateId (state, id) {
      state.id = id
    },
    updateAccount (state, account) {
      state.account = account
    },
    updateName (state, name) {
      state.name = name
    },
    message (state, message) {
      state.message = message
    },
    updateAvatar (state, avatar) {
      state.avatar = avatar
    },
    updateFun (state, fun) {
	    state.fun = fun
	  }
  }
}
